package com.newtouch.xcd.cms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 监察人信息
 * </p>
 *
 * @author dongyuefeng
 * @since 2020-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("5k_monitor")
@ApiModel(value="Monitor对象", description="监察人信息")
public class Monitor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "监察人ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "客户ID")
    @TableField("customer_id")
    private Integer customerId;

    @ApiModelProperty(value = "信托立项ID")
    @TableField("trust_id")
    private Integer trustId;

    @ApiModelProperty(value = "合同ID")
    @TableField("contract_id")
    private Integer contractId;

    @ApiModelProperty(value = "个人姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "国籍")
    @TableField("country")
    private String country;

    @ApiModelProperty(value = "性别：1男 2女")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "证件类型：1身份证  2中国护照  3军官证  4士兵证  5回乡证  6户口本  7外籍护照  8其他  9文职  10警官  11港澳通行证  12居住证  13社保卡  14台胞证  15警官退休证   16军官退休证  17文职退休证  18离休证  19香港居民身份证  20外国人永久居留证")
    @TableField("certificate_type")
    private Integer certificateType;

    @ApiModelProperty(value = "证件号码")
    @TableField("certificate_number")
    private String certificateNumber;

    @ApiModelProperty(value = "与委托人关系  1父/母亲  2本人  3配偶  4父子/女 5母子女  6祖孙子女  7外祖孙子女  8其他")
    @TableField("client_relationship")
    private Integer clientRelationship;

    @ApiModelProperty(value = "通讯地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "移动电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "固定电话")
    @TableField("telephone")
    private String telephone;

    @ApiModelProperty(value = "电子邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty(value = "创建人")
    @TableField("create_role_id")
    private Integer createRoleId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Integer createTime;


}
